package com.lagou.edu.pojo;

import lombok.*;
import lombok.extern.java.Log;


/**
 * @author ascetic
 * @version 1.0
 * @ClassName Test
 * @Description TODO
 * @date 2020-08-06 12:48
 */
@Log
class Test {

    private String name;
    @Getter(lazy = true)
    private  final double[] cached = expensive();
    private String age;

    Test(String name, String password, String age) {
        this.name = name;
        this.age = age;
    }


    public static void main(String[] args) {
        System.out.println("=======");
    }

    private double[] expensive() {
        double[] result = new double[1000000];
        for (int i = 0; i < result.length; i++) {
            result[i] = Math.asin(i);
        }
        return result;
    }
}